package org.tgcloud.group.web.exception;

/**
 * 数据不存在异常
 * ps:restful风格的路径通过id获取数据，不存在的情况直接抛出该异常
 * @author cloud_000
 *
 */
public class DataNotExistsException extends RuntimeException {

	private static final long serialVersionUID = -7020163297352344368L;

	 /**
     * Creates a new DataNotExistsException.
     */
    public DataNotExistsException() {
        super();
    }

    /**
     * Constructs a new DataNotExistsException.
     *
     * @param message the reason for the exception
     */
    public DataNotExistsException(String message) {
        super(message);
    }

    /**
     * Constructs a new DataNotExistsException.
     *
     * @param cause the underlying Throwable that caused this exception to be thrown.
     */
    public DataNotExistsException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs a new DataNotExistsException.
     *
     * @param message the reason for the exception
     * @param cause   the underlying Throwable that caused this exception to be thrown.
     */
    public DataNotExistsException(String message, Throwable cause) {
        super(message, cause);
    }
}
